[XEN] Fix bitops inline asm to specify that memory is clobbered.
authorkfraser@ubuntu.eng.hq.xensource.com <kfraser@ubuntu.eng.hq.xensource.com>
Wed, 6 Sep 2006 01:28:27 +0000 (18:28 -0700)
committerkfraser@ubuntu.eng.hq.xensource.com <kfraser@ubuntu.eng.hq.xensource.com>
Wed, 6 Sep 2006 01:28:27 +0000 (18:28 -0700)
commita97227a56dcce97c08057130b028c82917a6bbc0
treeb51945ecf97d91edcfd2ee9f1b1c9587735ba5c2
parentea72eea319dd5a6ddee16ca194b23056b56db15e
[XEN] Fix bitops inline asm to specify that memory is clobbered.
Necessary because the modified word may not be the one directly
addressed by the memory parameter (since the parameter actually
points at an array, not a scalar value).

The change to set_bit/__set_bit is reported to fix an issue
on x460 hardware, as reported (and this fix suggested) by
Ryan Harper <ryanh@us.ibm.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/include/asm-x86/bitops.h